﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace YbxLibrary.entity.outdata
{
    public class T1101out
    {
        public Baseinfo baseinfo { set; get; }
        public List<Insuinfo> insuinfo { set; get; }
        public List<Idetinfo> idetinfo { set; get; }
        public class Baseinfo
        {
            /// <summary>
            /// 人员证件类型
            /// </summary>
            public string psn_cert_type { get; set; }
            /// <summary>
            /// 证件号码
            /// </summary>
            public string certno { get; set; }
            /// <summary>
            /// 人员姓名
            /// </summary>
            public string psn_name { get; set; }
            /// <summary>
            /// 性别
            /// </summary>
            public string gend { get; set; }
            /// <summary>
            /// 民族
            /// </summary>
            public string naty { get; set; }
            /// <summary>
            /// 出生日期
            /// </summary>
            public string brdy { get; set; }
            /// <summary>
            /// 年龄
            /// </summary>
            public string age { get; set; }
            /// <summary>
            /// 字段扩展
            /// </summary>
            public Exp_content exp_content { get; set; }

            public class Exp_content
            {
                /// <summary>
                /// 账户共济授权信息
                /// </summary>
                public Acct_mulaid acct_mulaid { get; set; }

                public class Acct_mulaid
                {
                    /// <summary>
                    /// 授权人姓名
                    /// </summary>
                    public String auther_name { get; set; }
                    /// <summary>
                    /// 授权人参保统筹区
                    /// </summary>
                    public String auther_insu_admdvs { get; set; }
                    /// <summary>
                    /// 授权人账户余额
                    /// </summary>
                    public String auther_balc { get; set; }
                }
                /// <summary>
                /// 电子令牌
                /// </summary>
                public String ectoken { get; set; }

            }

        }
        public class Insuinfo {
            /// <summary>
            /// 余额
            /// </summary>
            public string balc { get; set; } 
            /// <summary>
            /// 险种类型
            /// </summary>
            public string insutype { get; set; } 
            /// <summary>
            /// 人员类别
            /// </summary>
            public string psn_type { get; set; } 
            /// <summary>
            /// 人员参保状态
            /// </summary>
            public string psn_insu_stas { get; set; }
            /// <summary>
            /// 个人参保日期
            /// </summary>
            public string psn_insu_date { get; set; }
            /// <summary>
            /// 暂停参保日期
            /// </summary>
            public string paus_insu_date { get; set; } 
            /// <summary>
            /// 公务员标志
            /// </summary>
            public string cvlserv_flag { get; set; } 
            /// <summary>
            /// 参保地医保区划
            /// </summary>
            public string insuplc_admdvs { get; set; } 
            /// <summary>
            /// 单位名称
            /// </summary>
            public string emp_name { get; set; } 
        }
        public class Idetinfo
        {
            /// <summary>
            /// 人员身份类别
            /// </summary>
            public string psn_idet_type { get; set; } 
            /// <summary>
            /// 人员类别等级
            /// </summary>
            public string psn_type_lv { get; set; }
            /// <summary>
            /// 备注
            /// </summary>
            public string memo { get; set; } 
            /// <summary>
            /// 开始时间
            /// </summary>
            public string begntime { get; set; } 
            /// <summary>
            /// 结束时间
            /// </summary>
            public string endtime { get; set; } 
        }
    }
}
